package com.xiaomaoguai.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @author August.zhang
 * @version v1.0.0
 * @date 2020/1/7 22:18
 * @since JDK 1.8
 */
@SpringBootApplication
public class MicroserviceSleuthTraceApplication {

	@Bean
	public RestTemplate restTemplate() {
		return new RestTemplate();
	}

	public static void main(String[] args) {
		SpringApplication.run(MicroserviceSleuthTraceApplication.class, args);
	}

}
